../../../../../lib/cpf_detect_events.m